﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace Com.GUI.LibraryManager
{
    /// <summary>
    /// Interaction logic for ListInformation.xaml
    /// </summary>
    public partial class ListInformation : UserControl
    {
        public ListInformation()
        {
            InitializeComponent();
        }
        //add note to treeview
        public void addAir()
        {
            TreeViewItem tvAir = new TreeViewItem();
            tvAir.Header = "Air Condition";
            this.trvList.Items.Add(tvAir);
            tvAir.Items.Add("Alternative");
        }
        public void addCold()
        {
            TreeViewItem tvCold = new TreeViewItem();
            tvCold.Header = "Cold Storage";
            this.trvList.Items.Add(tvCold);
        }
        public void addRoomCold()
        {
            TreeViewItem test = new TreeViewItem();
            test.Header = "Test";
            this.trvList.Items.Add(test);
        }
    }
}
